package edu.ynu.po;
// default package



/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User  implements java.io.Serializable {


    // Fields    

     private long usrId;
     private String usrName;
     private String usrPassword;
     private long usrRoleId;
     private Integer usrFlag;


    // Constructors

    /** default constructor */
    public User() {
    }

	/** minimal constructor */
    public User(String usrName, String usrPassword, Integer usrFlag) {
        this.usrName = usrName;
        this.usrPassword = usrPassword;
        this.usrFlag = usrFlag;
    }
    
    /** full constructor */
    public User(String usrName, String usrPassword, long usrRoleId, Integer usrFlag) {
        this.usrName = usrName;
        this.usrPassword = usrPassword;
        this.usrRoleId = usrRoleId;
        this.usrFlag = usrFlag;
    }

   
    // Property accessors

    public long getUsrId() {
        return this.usrId;
    }
    
    public void setUsrId(long usrId) {
        this.usrId = usrId;
    }

    public String getUsrName() {
        return this.usrName;
    }
    
    public void setUsrName(String usrName) {
        this.usrName = usrName;
    }

    public String getUsrPassword() {
        return this.usrPassword;
    }
    
    public void setUsrPassword(String usrPassword) {
        this.usrPassword = usrPassword;
    }

    public long getUsrRoleId() {
        return this.usrRoleId;
    }
    
    public void setUsrRoleId(long usrRoleId) {
        this.usrRoleId = usrRoleId;
    }

    public Integer getUsrFlag() {
        return this.usrFlag;
    }
    
    public void setUsrFlag(Integer usrFlag) {
        this.usrFlag = usrFlag;
    }
   








}